package com.nfc.lock.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * Power room summary for map display.
 */
@Data
@Schema(description = "Power room summary for map display")
public class MapRoomVO {

    @Schema(description = "Power room ID")
    private Long roomId;

    @Schema(description = "Power room name")
    private String roomName;

    @Schema(description = "Longitude")
    private Double longitude;

    @Schema(description = "Latitude")
    private Double latitude;

    @Schema(description = "Address")
    private String address;

    @Schema(description = "Total lock count")
    private Integer lockCount;

    @Schema(description = "Number of locks currently open")
    private Integer openCount;

    @Schema(description = "Number of malfunction locks")
    private Integer malfunctionCount;

    /**
     * Power room status: 0-normal (all closed), 1-in use (has open lock), 2-alert (malfunction).
     */
    @Schema(description = "Power room status: 0-normal 1-in-use 2-alert")
    private Integer status;
}

